<?php
include("../inc/conn.inc");
$hover=3;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>最新求购，最新求购信息，三帝贸易网提供最新国内求购信息、企业采购信息。</title>
<meta name="description" content="最新求购，最新企业采购信息，三帝贸易网聚集中国各大企业采购商，提供最新的企业采购信息、最新产品求购信息。" />
<meta name="keywords" content="求购，求购信息，最新采购信息，买家信息，紧急求购，求购网，企业采购，三帝贸易网" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/link.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function list(idstr){
	var name1="subtree"+idstr;
	var name2="img"+idstr;
	var objectobj=document.getElementById(name1);
	var imgobj=document.getElementById(name2);
	
	if(objectobj.style.display=="none"){
		for(i=1;i<10;i++){
			var name3="img"+i;
			var name="subtree"+i;
			var o=document.getElementById(name);
			if(o!=undefined){
				o.style.display="none";
				var image=document.getElementById(name3);
				image.src="/images/ico04.gif";
			}
		}
		objectobj.style.display="";
		imgobj.src="/images/ico03.gif";
	}
	else{
		objectobj.style.display="none";
		imgobj.src="/images/ico04.gif";
	}
}
</script>
</head>
<body>
<?php include("../inc/head_top.php")?>
<?php include("../inc/index_search.php")?>
<?php include("../inc/menu.php");?>
<div id="mian" class="topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<div id="mian" class="topside6">
<div class="leftmain">
<div class="left side">
<div class="title b"><span><a href="/caigou/list.php" target="_blank">更多</a></span>紧急求购</div>
<div class="RtInfo4">
<div class="div_3">
<ul>
<?php 
$rs=@mysql_query("select * from caigou where c_cl=1 order by id desc limit 8");
while($row=@mysql_fetch_array($rs)){
?>
<li><span><?=date("m-d",strtotime($row[addtime]))?></span><a href="/jjcaigou/<?=$row['id']?>.html" target="_blank" class="link_1"><?=mb_substr($row[c_title],0,13,'utf-8')?></a></li>
<?php }?>
</ul></div>
</div>
</div>
<div class="LBbox side">
<div class="title b"><span><a href="/buy/search.php" target="_blank">更多</a></span>求购信息</div>
<div class="Linfo">
<UL>
<?php //求购
$rs=@mysql_query("select id,b_title,b_addtime from buy where b_sh=1 order by b_addtime desc,id desc limit 12");
while($row=@mysql_fetch_array($rs)){
?>
<LI class="buy"><span>[<?=date("m/d",strtotime($row[b_addtime]))?>]</span><a href="/buy/<?=$row['id']?>.html" target="_blank"><?=mb_substr($row[b_title],0,10,'utf-8')?><?php if(strlen($row[b_title])>20){echo "...";}?></a></LI>
<?php }
?>
</UL>
</div>
</div>
<div class="onl"></div>
<div class="Class side topside6">
<DIV id=body>

<DIV id=title> 工业品 </DIV>
<DIV class=cont_1>
<?php
$c_rs=@mysql_query("select id,cat_name from catalog where big_name_id='1' and dj=1 order by id asc");
$n=1;
while($c_row=@mysql_fetch_array($c_rs)){
if($n==7){
?>
<div id='subtree1' style='display:none;'>
<?php }?>
<UL class="ul_1 backgray">
<a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank"><?=$c_row[cat_name]?></a>
<LI style="MARGIN-TOP:7px">
<?php 
    $c_rs2=@mysql_query("select id,cat_name from catalog where cat_id='$c_row[id]' order by id asc limit 10 ");
	while($c_row2=@mysql_fetch_array($c_rs2)){?><a href="/buy-list/<?=$c_row2[id]?>/1.html" class="link_2" target="_blank"><?=$c_row2[cat_name]?></a> | <?php }mysql_free_result($c_rs2);?><a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank">更多</a></LI>
  </UL>
<?php 
$n++;
}mysql_free_result($c_rs);
if($n>6){?> 
</div><div class="onl"></div>
<div align="right" style="padding-right:20px;"><a href="javascript:" onClick="list('1');"><img src="/images/ico04.gif" name="img1" id="img1"  border="0"/></a></div>
<?php }?>
<div class="onl"></div>
</DIV>
  


<DIV id=title> 消费品 </DIV>
<DIV class=cont_1>
<?php
$c_rs=@mysql_query("select id,cat_name from catalog where big_name_id=2 and dj=1 order by id asc");
$n=1;
while($c_row=@mysql_fetch_array($c_rs)){
if($n==7){
?>
<div id='subtree2' style='display:none;'>
<?php }?>
<UL class="ul_1 backgray">
<a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank"><?=$c_row[cat_name]?></a>
<LI style="MARGIN-TOP:7px">
<?php 
    $c_rs2=@mysql_query("select id,cat_name from catalog where cat_id='$c_row[id]' order by id asc limit 10 ");
	while($c_row2=@mysql_fetch_array($c_rs2)){?><a href="/buy-list/<?=$c_row2[id]?>/1.html" class="link_2" target="_blank"><?=$c_row2[cat_name]?></a> | <?php }mysql_free_result($c_rs2);?><a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank">更多</a></LI>
  </UL>
<?php 
$n++;
}mysql_free_result($c_rs);
if($n>6){?> 
</div><div class="onl"></div>
<div align="right" style="padding-right:20px;"><a href="javascript:" onClick="list('2');"><img src="/images/ico04.gif" name="img2" id="img2"  border="0"/></a></div>
<?php }?>
<div class="onl"></div>
</DIV>


<DIV id=title> 农业 </DIV>
<DIV class=cont_1>
<?php
$c_rs=@mysql_query("select id,cat_name from catalog where big_name_id=3 order by id asc  limit 6");
while($c_row=@mysql_fetch_array($c_rs)){
?>
<UL class="ul_1 backgray">
<a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank"><?=$c_row[cat_name]?></a>
<LI style="MARGIN-TOP:7px">
<?php 
    $c_rs2=@mysql_query("select id,cat_name from catalog where cat_id='$c_row[id]'  limit 10 ");
	while($c_row2=@mysql_fetch_array($c_rs2)){?><a href="/buy-list/<?=$c_row2[id]?>/1.html" class="link_2" target="_blank"><?=$c_row2[cat_name]?></a> | <?php }mysql_free_result($c_rs2);?><a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank">更多</a></LI>
  </UL>
<?php }mysql_free_result($c_rs);?> 
<div class="onl"></div>
</DIV>

<DIV id=title> 原材料 </DIV>
<DIV class=cont_1>
<?php
$c_rs=@mysql_query("select id,cat_name from catalog where big_name_id=4 and dj=1 order by id asc");
while($c_row=@mysql_fetch_array($c_rs)){
?>
<UL class="ul_1 backgray">
<a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank"><?=$c_row[cat_name]?></a>
<LI style="MARGIN-TOP:7px">
<?php 
    $c_rs2=@mysql_query("select id,cat_name from catalog where cat_id='$c_row[id]' order by id asc limit 10 ");
	while($c_row2=@mysql_fetch_array($c_rs2)){?><a href="/buy-list/<?=$c_row2[id]?>/1.html" class="link_2" target="_blank"><?=$c_row2[cat_name]?></a> | <?php }mysql_free_result($c_rs2);?><a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank">更多</a></LI>
  </UL>
<?php }mysql_free_result($c_rs);?> 
<div class="onl"></div>
</DIV>

<DIV id=title> 商业服务 </DIV>
<DIV class=cont_1>
<?php
$c_rs=@mysql_query("select id,cat_name from catalog where big_name_id=5 order by c_top_tj desc, id asc");
$n=1;
while($c_row=@mysql_fetch_array($c_rs)){
if($n==7){
?>
<div id='subtree5' style='display:none;'>
<?php }?>
<UL class="ul_1 backgray">
<a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank"><?=$c_row[cat_name]?></a>
<LI style="MARGIN-TOP:7px">
<?php 
    $c_rs2=@mysql_query("select id,cat_name from catalog where cat_id='$c_row[id]' order by id asc limit 8");
	while($c_row2=@mysql_fetch_array($c_rs2)){?><a href="/buy-list/<?=$c_row2[id]?>/1.html" class="link_2" target="_blank"><?=$c_row2[cat_name]?></a> | <?php }mysql_free_result($c_rs2);?><a href="/buy-catalog/<?=$c_row[id]?>.html" class=link_1 target="_blank">更多</a></LI>
  </UL>
<?php 
$n++;
}mysql_free_result($c_rs);
if($n>6){?> 
</div><div class="onl"></div>
<div align="right" style="padding-right:20px;"><a href="javascript:" onClick="list('5');"><img src="/images/ico04.gif" name="img5" id="img5"  border="0"/></a></div>
<?php }?>
<div class="onl"></div>
</DIV>
</DIV>
</div>
<div class="onl"></div>
<div class="onl"></div>
</div>
<div class="rightmain">

<div class="right side">
<iframe src="/inc/login.php" frameborder="0" height="240px;" width="250px;" scrolling="no"></iframe>
</div>
<div class="right topside20 downside20 side">
<script type="text/javascript">/*250*250，创建于2011-3-25*/ var cpro_id = 'u422549';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>



<div class="right side topside6">
<div class="title size14 b"><a href="/expo/" target="_blank">展会动态</a></div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=@mysql_query("select id,start_time,news_time,news_title from news  where n_sh=1 and type_id=22 order by id desc limit 10");
while($row=@mysql_fetch_array($rs)){
?>
<li><span><?=date("Y/m/d",strtotime($row[news_time]))?></span><a href="/expo/<?=date("Y-m-d",strtotime($row[news_time]))?>/<?=$row['id']?>.html" class="link_1" target="_blank"><?=mb_substr($row[news_title],0,13,'utf-8')?></a></li>
<?php }?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>



<div class="right side topside6">
<div class="title size14 b"><a href="http://zl.sandib2b.cn" target="_blank">三帝资料</a></div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=@mysql_query("select id,z_title from ziliao where z_sh=1  order by id asc limit 10");
while($row=@mysql_fetch_array($rs)){
?>
<li><a href="http://zl.sandib2b.cn/ziliao-info/<?=$row['id']?>.html" class="link_1" target="_blank"><?=mb_substr($row[z_title],0,17,'utf-8')?></a></li>
<?php }?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>

<div class="right side topside6">
<div class="title size14 b"><a href="http://job.sandib2b.cn" target="_blank">最新招聘信息</a></div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php $rs=@mysql_query("select id,job_title,job_addtime from job_post where job_sh='1' order by job_addtime desc,id desc limit 10");
 while($row=@mysql_fetch_array($rs)){
?>
<li><span><?=date("Y-m-d",strtotime($row[job_addtime]))?></span><a href="http://job.sandib2b.cn/jobpost/<?=$row['id']?>.cfm" target="_blank"><?=mb_substr($row[job_title],0,13,'utf-8')?></a></li>
<?php }mysql_free_result($rs);?></ul>
</div>
 </div>
 <div class="onl"></div> 
</div>


</div>
<div class="onl"></div>
</div>
<div id="mian" class="topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
</div>
<?php include("../inc/foot.php");?>
</BODY>
</HTML>

<script type="text/javascript">/*120*270，创建于2010-12-18*/ var cpro_id = 'u319758';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>